package com.ruoyi.project.mapper;

import java.util.List;
import com.ruoyi.project.domain.YhAppointment;

/**
 * 预约信息Mapper接口
 * 
 * @author ruoyi
 * @date 2023-03-20
 */
public interface YhAppointmentMapper 
{
    /**
     * 查询预约信息
     * 
     * @param id 预约信息主键
     * @return 预约信息
     */
    public YhAppointment selectYhAppointmentById(Long id);

    /**
     * 查询预约信息列表
     * 
     * @param yhAppointment 预约信息
     * @return 预约信息集合
     */
    public List<YhAppointment> selectYhAppointmentList(YhAppointment yhAppointment);

    /**
     * 新增预约信息
     * 
     * @param yhAppointment 预约信息
     * @return 结果
     */
    public int insertYhAppointment(YhAppointment yhAppointment);

    /**
     * 修改预约信息
     * 
     * @param yhAppointment 预约信息
     * @return 结果
     */
    public int updateYhAppointment(YhAppointment yhAppointment);

    /**
     * 删除预约信息
     * 
     * @param id 预约信息主键
     * @return 结果
     */
    public int deleteYhAppointmentById(Long id);

    /**
     * 批量删除预约信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYhAppointmentByIds(Long[] ids);

    List<YhAppointment> selectYhAppointmentByName(String instrumentId);
}
